package com.liuya.db.orm;

/**
 * Field where condition.
 *
 */
public class FieldWhereElement implements WhereElement {
	private Column column;
	private Comparator compartor;
	/**
	 * If SingleValueComparator, the value is a string; If it's a
	 * MultiValueComparator, the value is a collection of string
	 */
	private Object value;

	private boolean isContextValue;

	public Comparator getCompartor() {
		return compartor;
	}

	public void setCompartor(Comparator compartor) {
		this.compartor = compartor;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

	public Column getColumn() {
		return column;
	}

	public void setColumn(Column column) {
		this.column = column;
	}

	public boolean isContextValue() {
		return isContextValue;
	}

	public void setContextValue(boolean isContextValue) {
		this.isContextValue = isContextValue;
	}
}
